<?php
/**
 *      
 * 
 *  @author          Edmandie Samonte        (edmandie.samonte@gmail.com)
 *  @copyright       2011 
 * 
 */
echo doctype('xhtml1-strict');
?>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <title>Welcome to AEMS</title>
        <style type="text/css" media="screen">
            @import url(<?php echo load_css('common.css');?>);
            @import url(<?php echo load_css('header.css');?>);
            @import url(<?php echo load_css('main.css');?>);
        </style>
    </head>
    <body>
        <div class="main-container">
            <div class="clearfix">
                <div id="right">
                    <div>
                        <table>
                            <tr>
                                <td>
                                    <img src="<?php echo load_image('user_starred.png');?>" alt="" title="" />
                                </td>
                                <td>
                                    <span id="login-header">Login</span>
                                </td>
                            </tr>
                        </table>
                        <hr class="separator" />
                        <?php if(isset($error) && $error != ''){?> 
                        <p class="error-message"><?php echo $error; ?></p>
                        <?php }?>
                        <form action="<?php echo current_url();?>" method="post">
                            <p>
                                <label>Username</label><br/>
                                <select name="username" class="input_class" style="width:240px;">
                                    <option>Secretary</option>
                                    <option>Manager</option>
                                    <option>Owner</option>
                                    <option>System Administrator</option>
                                </select>
                            </p>
                            <p>
                                <label>Password</label>
                                <input type="password" class="input_class" name="password" style="width:225px;"/>
                            </p>
                            <p>
                                <input type="submit" class="gb" value="Login" />
                            </p>
                        </form>
                    </div>
                </div>
                <div id="left">
                    <table>
                        <tr>
                            <td>
                                <img src="<?php echo load_image('logo_75.png');?>" alt="" title="Alavarez Funeral Homes" />
                            </td>
                            <td>
                                <h2 class="company-name">Alvarez Funeral Homes</h2>
                            </td>
                        </tr>
                    </table>
                    <hr class="separator" />
                    <p class="welcome-message">
                         Welcome to the <br/>
                            <span class="header-title">Automated Employee Management System</span><br/>
                          of <span class="company-name" style="font-weight:bold;font-size: 20px;">Alvarez Funeral Homes</span>
                    </p>
                    <p class="welcome-message">
                        <span class="header-title">AEMS</span> is a tool to access
                    <table>
                        <tr>
                            <td>
                                <img src="<?php echo load_image('user_accept_128.png'); ?>" alt="" title="" height="75"/>
                            </td>
                            <td>
                                <span class="welcome-message">Employee's Attendance Record<span>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <img src="<?php echo load_image('user_edit_128.png'); ?>" alt="" title="" height="75"/>
                            </td>
                            <td>
                                <span class="welcome-message">Employee's Bio Record<span>
                            </td>
                        </tr>
                    </table>
                    </p>
                </div>
            </div>
        </div>
    </body>
</html>
